package com.jiaanpei.frameproject.modle.net;

import com.jiaanpei.frameproject.BuildConfig;
import com.jiaanpei.frameproject.modle.bean.appupdate.AppUpdateBean;
import com.jiaanpei.frameproject.modle.bean.base.BaseRequest;
import com.jiaanpei.frameproject.modle.bean.base.BaseResponse;
import com.jiaanpei.frameproject.modle.bean.login.LoginBean;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface BaseApis {
    String HOST = BuildConfig.ROOT;
    /**
     * 登录
     *
     * @return
     */
    @POST("appinterface.jspx")
    Call<BaseResponse<LoginBean>> LoginBean(@Body BaseRequest baseRequest);

    /**
     *版本更新
     *
     * @return
     */
    @POST("appinterface.jspx")
    Call<BaseResponse<AppUpdateBean>> AppUpdateBean(@Body BaseRequest baseRequest);
}
